package com.base.common.model.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.FieldNameConstants;

/**
 * @Description 枚举Dto
 * @Author zhongbo.yu
 * @Date 2021/12/28
 */
@Data
@ToString
@Builder
@ApiModel(value = "EnumDto", description = "枚举Dto结果")
@FieldNameConstants
@JsonIgnoreProperties(ignoreUnknown = true)
public class EnumDto {

    /**
     * code
     */
    @ApiModelProperty(notes = "code")
    private String code;
    /**
     * value
     */
    @ApiModelProperty(notes = "value")
    private String value;
}
